<div id="topnav" class="pull-right">
    <div id="userMenu" class="dropdown">
        <a data-toggle="dropdown" href="javascript:;"><i class="icon-user"></i> <?php echo Auth::user()->name;?> <span class="caret"></span></a>
        <ul class="dropdown-menu">
            <li>
            </li>
            <li>
                <a data-width="500" class="iframe" target="" href="<?php echo U('admin/user/password', array('onlybody' => 'yes'));?>">更改密码</a>
            </li>
        </ul>
    </div>
    <a href="/admin/login/logout">退出</a>
</div>